package com.fsh.subject.domain.convert;

import com.fsh.subject.domain.entity.SubjectLabelBO;
import com.fsh.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 作者：fsh
 * 日期：2023/10/16
 * <p>
 * 描述：转换器,SubjectLabel 和 BO
 */

@Mapper
public interface SubjectLabelConverter {

    SubjectLabelConverter INSTANCE= Mappers.getMapper(SubjectLabelConverter.class);

    SubjectLabel convertBoToLabel(SubjectLabelBO subjectLabelBO);

    SubjectLabelBO convertLabelToBo(SubjectLabel subjectLabel);



    List<SubjectLabelBO> convertLabelToBo(List<SubjectLabel> LabelList);
}
